package com.nowcoder.community.config;/**
 * 功能描述
 *
 * @author 21775
 * @date 2022/09/13  21:07
 */

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.text.SimpleDateFormat;

/**
 *@ClassName AlphaConfig
 *@Description TODO 配置类
 *@Author 21775
 *@Date 2022/9/13 21:07
 *@Version 1.0
 */
@Configuration
public class AlphaConfig {
    @Bean
    public SimpleDateFormat simpleDateFormat(){
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    }
}
